package com.jinlejia.erp.ui.home;


import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.jinlejia.erp.R;

/**
 * 购房资质（有3年内连续2年社保或有完税证明）
 */
public class ContinuousFragment extends Fragment {


    public ContinuousFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        return inflater.inflate(R.layout.fragment_continuous, container, false);
    }

    @Override
    public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);

        //第一组
        View qview1 = view.findViewById(R.id.qinfo1);
        ((TextView) qview1.findViewById(R.id.tip1)).setText("本市私产房");
        ((TextView) qview1.findViewById(R.id.text1)).setText("无");
        ((TextView) qview1.findViewById(R.id.text2)).setText("1套");

        View view11 = view.findViewById(R.id.info11);
        ((TextView) view11.findViewById(R.id.text1)).setText("无");
        ((TextView) view11.findViewById(R.id.text2)).setText("首付3成");
        ((TextView) view11.findViewById(R.id.text3)).setText("首付4成");

        View view12 = view.findViewById(R.id.info12);
        ((TextView) view12.findViewById(R.id.text1)).setText("有");
        ((TextView) view12.findViewById(R.id.text2)).setText("首付6成");

        //第2组
        View qview2 = view.findViewById(R.id.qinfo2);
        ((TextView) qview2.findViewById(R.id.tip1)).setText("本市私产房");
        ((TextView) qview2.findViewById(R.id.text1)).setText("有");
        ((TextView) qview2.findViewById(R.id.text2)).setText("限购");

        View view21 = view.findViewById(R.id.info21);
        ((TextView) view21.findViewById(R.id.text)).setText("限贷");



    }
}
